package virtorina.server.domain;

import java.io.Serializable;
import java.util.Date;


import virtorina.client.room.dto.ChatMsgDTO;

public class ChatMsg implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ChatMsg() {
	}
	

	private int msgID;
	private Long roomID;
	private String msg;
	private Long UserID;
	private String UserName;
	private Date date;

	public int getMsgID() {
		return msgID;
	}

	public void setMsgID(int msgID) {
		this.msgID = msgID;
	}

	public Long getRoomID() {
		return roomID;
	}

	public void setRoomID(Long roomID) {
		this.roomID = roomID;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Long getUserID() {
		return UserID;
	}

	public void setUser(Long userID) {
		this.UserID = userID;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public ChatMsg(Long roomID, String msg, Long UserID, Date date) {
		this.roomID = roomID;
		this.msg = msg;
		this.UserID = UserID;
		this.date = date;
	}

	public String getUserName() {
		return UserName;
	}

	public void setUserName(String userName) {
		UserName = userName;
	}



}
